﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000173 RID: 371
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CancelActivityExpeditionScRsp : IMessage<CancelActivityExpeditionScRsp>, IMessage, IEquatable<CancelActivityExpeditionScRsp>, IDeepCloneable<CancelActivityExpeditionScRsp>, IBufferMessage
	{
		// Token: 0x170004EB RID: 1259
		// (get) Token: 0x060010B2 RID: 4274 RVA: 0x00030CD9 File Offset: 0x0002EED9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CancelActivityExpeditionScRsp> Parser
		{
			get
			{
				return CancelActivityExpeditionScRsp._parser;
			}
		}

		// Token: 0x170004EC RID: 1260
		// (get) Token: 0x060010B3 RID: 4275 RVA: 0x00030CE0 File Offset: 0x0002EEE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CancelActivityExpeditionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170004ED RID: 1261
		// (get) Token: 0x060010B4 RID: 4276 RVA: 0x00030CF2 File Offset: 0x0002EEF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CancelActivityExpeditionScRsp.Descriptor;
			}
		}

		// Token: 0x060010B5 RID: 4277 RVA: 0x00030CF9 File Offset: 0x0002EEF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelActivityExpeditionScRsp()
		{
		}

		// Token: 0x060010B6 RID: 4278 RVA: 0x00030D01 File Offset: 0x0002EF01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelActivityExpeditionScRsp(CancelActivityExpeditionScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.iDJNPOONENE_ = other.iDJNPOONENE_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060010B7 RID: 4279 RVA: 0x00030D32 File Offset: 0x0002EF32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelActivityExpeditionScRsp Clone()
		{
			return new CancelActivityExpeditionScRsp(this);
		}

		// Token: 0x170004EE RID: 1262
		// (get) Token: 0x060010B8 RID: 4280 RVA: 0x00030D3A File Offset: 0x0002EF3A
		// (set) Token: 0x060010B9 RID: 4281 RVA: 0x00030D42 File Offset: 0x0002EF42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170004EF RID: 1263
		// (get) Token: 0x060010BA RID: 4282 RVA: 0x00030D4B File Offset: 0x0002EF4B
		// (set) Token: 0x060010BB RID: 4283 RVA: 0x00030D53 File Offset: 0x0002EF53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IDJNPOONENE
		{
			get
			{
				return this.iDJNPOONENE_;
			}
			set
			{
				this.iDJNPOONENE_ = value;
			}
		}

		// Token: 0x060010BC RID: 4284 RVA: 0x00030D5C File Offset: 0x0002EF5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CancelActivityExpeditionScRsp);
		}

		// Token: 0x060010BD RID: 4285 RVA: 0x00030D6A File Offset: 0x0002EF6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CancelActivityExpeditionScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.IDJNPOONENE == other.IDJNPOONENE && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060010BE RID: 4286 RVA: 0x00030DA8 File Offset: 0x0002EFA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.IDJNPOONENE != 0U)
			{
				num ^= this.IDJNPOONENE.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060010BF RID: 4287 RVA: 0x00030E00 File Offset: 0x0002F000
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060010C0 RID: 4288 RVA: 0x00030E08 File Offset: 0x0002F008
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060010C1 RID: 4289 RVA: 0x00030E14 File Offset: 0x0002F014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IDJNPOONENE != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.IDJNPOONENE);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060010C2 RID: 4290 RVA: 0x00030E70 File Offset: 0x0002F070
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.IDJNPOONENE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IDJNPOONENE);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060010C3 RID: 4291 RVA: 0x00030EC8 File Offset: 0x0002F0C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CancelActivityExpeditionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.IDJNPOONENE != 0U)
			{
				this.IDJNPOONENE = other.IDJNPOONENE;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060010C4 RID: 4292 RVA: 0x00030F18 File Offset: 0x0002F118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060010C5 RID: 4293 RVA: 0x00030F24 File Offset: 0x0002F124
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.IDJNPOONENE = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000712 RID: 1810
		private static readonly MessageParser<CancelActivityExpeditionScRsp> _parser = new MessageParser<CancelActivityExpeditionScRsp>(() => new CancelActivityExpeditionScRsp());

		// Token: 0x04000713 RID: 1811
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000714 RID: 1812
		public const int RetcodeFieldNumber = 10;

		// Token: 0x04000715 RID: 1813
		private uint retcode_;

		// Token: 0x04000716 RID: 1814
		public const int IDJNPOONENEFieldNumber = 9;

		// Token: 0x04000717 RID: 1815
		private uint iDJNPOONENE_;
	}
}
